package com.weiyi.admin.models.ums.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.weiyi.admin.dto.ResourceRoleDTO;
import com.weiyi.admin.models.ums.mapper.UmsResourceMapper;
import com.weiyi.admin.models.ums.service.UmsResourceService;
import com.weiyi.admin.models.ums.model.UmsResource;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 后台资源表 服务实现类
 * </p>
 *
 * @author PZC
 * @since 2022-10-12
 */
@Service
public class UmsResourceServiceImpl extends ServiceImpl<UmsResourceMapper, UmsResource> implements UmsResourceService {

    @Override
    public List<ResourceRoleDTO> getAllResourceRole() {
        return this.baseMapper.getAllResourceRole();
    }
}
